<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="resource/js/vue.js"></script>
</head>
<body>
<div id="app">
    <input v-model="parentMsg">
    <br>
    <child v-bind:my-message="parentMsg"></child>
</div>
<script>
    new Vue({
        el: '#app',
        data:{
            parentMsg:'aaaaa'
        },
        components:{
            'child':{
                props:['myMessage'],
                template: '<div>{{myMessage}}</div>'
            }
        }
    })
</script>
</body>
</html>